package com.crm.dao.mapper.opportunityManager;

import com.crm.model.entity.opportunityManager.OpportunityContact;
import com.crm.model.entity.opportunityManager.OpportunityContactExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpportunityContactMapper {
    long countByExample(OpportunityContactExample example);

    int deleteByExample(OpportunityContactExample example);

    int deleteByPrimaryKey(String opportunityContactId);

    int insert(OpportunityContact record);

    int insertSelective(OpportunityContact record);

    List<OpportunityContact> selectByExample(OpportunityContactExample example);

    OpportunityContact selectByPrimaryKey(String opportunityContactId);

    int updateByExampleSelective(@Param("record") OpportunityContact record, @Param("example") OpportunityContactExample example);

    int updateByExample(@Param("record") OpportunityContact record, @Param("example") OpportunityContactExample example);

    int updateByPrimaryKeySelective(OpportunityContact record);

    int updateByPrimaryKey(OpportunityContact record);
}